--[[
	--获取背包数据
]]
local filename = "getknapsack.lua"

local timetool = require "timetool"
local skynet = require "skynet"
local cluster = require "skynet.cluster"
local filelog =require "filelog"

local service = nil
local CMD = {
	service = nil
}

function CMD.process(rid, msgbody)
	if not service then
		service = CMD.service
	end

	local response = skynet.call(".knapsack", "lua", "getknapsack", rid)
    if not response then
        return {retcode = -1, retstr = "获取背包数据失败"}
    end

    return response
end

return CMD